package com.tanhua.dubbo.api.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.tanhua.domain.vo.QuestionListVo;
import com.tanhua.dubbo.api.QuestionListVoApi;
import com.tanhua.dubbo.mapper.QuestionListVoMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class QuestionListVoImpl implements QuestionListVoApi {
    @Autowired
    private QuestionListVoMapper mapper;
    @Override
    public Page<QuestionListVo> getList(Page page, String name, String question) {
        Page<QuestionListVo> list = mapper.getList(page,name,question);
        return list;
    }
}
